package com.beerandjesus.sportofkings.handicapper.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;

/**
 * Date: Sep 11, 2012
 * Time: 8:26:21 PM
 */
@Entity
@Table(name = "jockey_performance")
public class JockeyPerformanceImpl implements JockeyPerformance {

    @Id
    @Column(name = "name")
    private String name;
    @Column(name = "win_ratio")
    private BigDecimal winRatio;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getWinRatio() {
        return winRatio;
    }

    public void setWinRatio(BigDecimal winRatio) {
        this.winRatio = winRatio;
    }
}
